<%@ page language="java" pageEncoding="UTF-8"%>
<div>
	<span ng-show="dis.order.name!=null">
		<span class="label label-default">{{dis.order.name}}</span>
	</span>
	
	<a ng-href="#/discuss/{{dis.id}}" ng-style="{'color':dis.order.color,'font-weight':dis.order.font}" title="{{dis.title | textOnly}}">
		{{dis.title | summary:80}}
	</a>
	
	<div style="color: #777;margin-top:20px; margin-left: 10px;">
		{{dis.content | textOnly | summary:80}}
	</div>
	
	<div style="color: #777;margin-top:20px; margin-left: 10px;">
		<span style="margin-right: 10px;">
			<i class="glyphicon glyphicon-user"></i> <a ng-href="#/user/{{dis.author.id}}/home">{{dis.author.username}}</a>
		</span>
		<span style="margin-right: 10px;" message="'发表于{{dis.create_time | formatDate}}'" tooltip>
			<i class="glyphicon glyphicon-time"></i> {{dis.create_time | formatDate:true}}
		</span>
		<span style="margin-right: 10px;" message="'{{dis.comment_count}}条评论'" tooltip>
			<i class="glyphicon glyphicon-comment"></i> {{dis.comment_count}}
		</span>
		<span message="'{{dis.views_count}}次查看'" tooltip>
			<i class="glyphicon glyphicon-eye-open"></i> {{dis.views_count}}
		</span>
	</div>
</div>
